package com.cian.spring.dao;

import com.cian.spring.model.User;

import java.util.List;

/**
 * @author Create By Cian
 * @version 2017/11/2  21:50
 */
public interface IUserDao {
    public int add(User user);

    public int update(User user);

    public int delete(int id);

    public List<User> list();

    public User findOne(int id);
}
